import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/01/Index.vue'
import HomeView2 from '../views/02/Index.vue'
import User from '@/views/user/Index.vue';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
      redirect: '/user',
    },
    {
      path: '/02',
      name: 'HomeView2',
      component: HomeView2,
    },
    {
      path: '/user',
      name: 'User',
      component: User,
    }
  ],
})

export default router
